﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="contactus.aspx.cs" Inherits="contactus" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="css/NewCss.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div id="All-Table">
  <div id="Title-Line">
    <h2>關於我們</h2>
  </div>
  <table border="0" cellpadding="0" cellspacing="0" class="Contactus-Table">
    <tr>
      <td colspan="2" valign="top"><table border="0" cellspacing="13" cellpadding="0">
        <tr class="Contactus-Table">
          <td>姓名</td>
          <td>
            <asp:TextBox ID="txtCreateName" runat="server" CssClass="Contactus-Order"></asp:TextBox>     
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入姓名"
                  ControlToValidate="txtCreateName" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr class="Contactus-Table">
          <td>聯絡電話</td>
          <td>
            <asp:TextBox ID="txtPhone" runat="server" CssClass="Contactus-Order"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="請輸入電話"
                  ControlToValidate="txtPhone" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr class="Contactus-Table">
          <td>E-mail</td>
          <td>
            <asp:TextBox ID="txtEmail" runat="server" CssClass="Contactus-Order"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="請輸入電子信箱"
                  ControlToValidate="txtEmail" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>      
      <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ValidationGroup="Save" ErrorMessage="電子信箱格式不正確"
                  Display="None" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
          </td>
        </tr>
        <tr class="Contactus-Table">
          <td valign="top">您的留言</td>
          <td valign="top">
            <asp:TextBox ID="txtContent" runat="server" CssClass="Contactus-Order" TextMode="MultiLine" rows="7"></asp:TextBox>        
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="請輸入您的意見內容"
                  ControlToValidate="txtContent" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr class="Contactus-Table">
          <td colspan="2" valign="top"><asp:LinkButton ID="btnClear" runat="server" onclick="btnClear_Click" >
      <p class="Btn-New1">清除重填</p>
    </asp:LinkButton> 
              <asp:LinkButton ID="btnSend" runat="server" onclick="btnSend_Click" ValidationGroup="Save" >
      <p class="Btn-New1">確定送出</p>
    </asp:LinkButton></td>
        </tr>
        </table></td>
      <td width="510" valign="top">
        <div id="Contactus-Map">
          <iframe width="480" height="235" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com.tw/maps?f=q&amp;source=s_q&amp;hl=zh-TW&amp;geocode=&amp;q=%E6%A1%83%E5%9C%92%E7%B8%A3%E4%B8%AD%E5%A3%A2%E5%B8%82%E4%B8%AD%E6%96%B0%E8%B7%AF30%E8%99%9F&amp;aq=&amp;sll=24.958332,121.216036&amp;sspn=0.017178,0.017831&amp;g=%E6%A1%83%E5%9C%92%E7%B8%A3%E4%B8%AD%E5%A3%A2%E5%B8%82%E4%B8%AD%E6%96%B0%E8%B7%AF30%E8%99%9F&amp;brcurrent=3,0x346822e21b626159:0x95a21e1ecba6804c,0,0x34683d0eceda863f:0x54e44f52583a486a&amp;ie=UTF8&amp;hq=&amp;hnear=320%E6%A1%83%E5%9C%92%E7%B8%A3%E4%B8%AD%E5%A3%A2%E5%B8%82%E4%B8%AD%E6%96%B0%E8%B7%AF30%E8%99%9F&amp;t=m&amp;ll=24.965595,121.217051&amp;spn=0.018286,0.041113&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="https://maps.google.com.tw/maps?f=q&amp;source=embed&amp;hl=zh-TW&amp;geocode=&amp;q=%E6%A1%83%E5%9C%92%E7%B8%A3%E4%B8%AD%E5%A3%A2%E5%B8%82%E4%B8%AD%E6%96%B0%E8%B7%AF30%E8%99%9F&amp;aq=&amp;sll=24.958332,121.216036&amp;sspn=0.017178,0.017831&amp;g=%E6%A1%83%E5%9C%92%E7%B8%A3%E4%B8%AD%E5%A3%A2%E5%B8%82%E4%B8%AD%E6%96%B0%E8%B7%AF30%E8%99%9F&amp;brcurrent=3,0x346822e21b626159:0x95a21e1ecba6804c,0,0x34683d0eceda863f:0x54e44f52583a486a&amp;ie=UTF8&amp;hq=&amp;hnear=320%E6%A1%83%E5%9C%92%E7%B8%A3%E4%B8%AD%E5%A3%A2%E5%B8%82%E4%B8%AD%E6%96%B0%E8%B7%AF30%E8%99%9F&amp;t=m&amp;ll=24.965595,121.217051&amp;spn=0.018286,0.041113&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">顯示詳細地圖</a></small>
          <div id="Contactus-add">No.30 ChungShin Rd Chungli City, 320 Taiwan<br />
            320 中壢市中新路30號<br />
            TEL +886 3 494 1748<br />
            FAX +886 3 401 5789<br />
            MAIL dplus.tw@gmail.com</div>
          </div>
        </td>
    </tr>
    </table>
</div>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Save" 
        ShowMessageBox="True" ShowSummary="False"/>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

